SDEF
path models/hanglight
scale 1.0
bulb_base.sbm
bulb_base.tga
bulbred_base.tga

idle bulb_idle.sam
bulb_a bulb_idle.SAM
bulb_b bulb_idle.sam

id 10 group light

//
// The initialization section
//

!init:
server classname actor
server health 1
server noshadow
server setsize "-4 -4 0" "4 4 8"
server flags +darken -blood
server script global/bulbs.scr

//
// The main section
//
!main:
//
// The SINED declaration section
//
/*SINED items_bulb_on (.3 1 .3) (0 0 0) (0 0 0) NOT_SOLID NOT_DAMAGABLE 
Hanging Bulb On
Light Bulb (White & Red)
!!! Now with high-tech triggering function !!!
*/

server bulb_a first group light +fullbright
server bulb_b first group light -fullbright
// a=on, b=off

